import Vue from 'vue'
import { Toast, Dialog, Button, Row, Col, Icon, Tag, Field, PullRefresh, List, NavBar, Cell, CellGroup, Popup, Loading } from 'vant'
Vue.use(Toast)
Vue.use(Dialog)
Vue.use(Popup)
const vantComponent = [Button, Row, Col, Icon, Tag, Field, PullRefresh, List, NavBar, Cell, CellGroup, Popup, Loading]
vantComponent.forEach((item, index) => {
  Vue.component(item.name, item)
})
